package com.aos.eap.adapter;


import com.aos.eap.R;
import com.aos.eap.bean.NameValueBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

import androidx.annotation.Nullable;


public class LotInfoListAdapter extends BaseQuickAdapter<NameValueBean, BaseViewHolder> {

    public LotInfoListAdapter(@Nullable List<NameValueBean> data) {
        super(R.layout.adapter_lot_info_list, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, final NameValueBean item) {
        helper.setText(R.id.tvName, item.getName());
        helper.setText(R.id.tvValue, item.getValue());
    }
}
